% Set sample rates
fsample = 4096e6;
fsystem = 256e6;

% Design the RF-ADC Filters
fir0 = dsp.FIRHalfbandDecimator(...
    'Specification','Coefficients',...
    'Numerator', [-6, 0, 54, 0, -254, 0, 1230, 2048, 1230, 0, -254, 0, 54, 0, -6]/4096, ...
    'SampleRate', fsample);

fir1 = dsp.FIRHalfbandDecimator(...
    'Specification','Coefficients',...
    'Numerator', [-12, 0, 84, 0, -337, 0, 1008, 0, -2693, 0, 10142, 16384, 10142, 0, -2693, 0, 1008, 0, -337, 0, 84, 0, -12]/32768, ...
    'SampleRate', fsample);

fir2 = dsp.FIRHalfbandDecimator(...
    'Specification','Coefficients',...
    'Numerator', [5, 0, -17, 0, 44, 0, -96, 0, 187, 0, -335, 0, 565, 0, -906, 0, 1401, 0, -2112, 0, 3145, 0, -4723, 0, 7415, 0, -13331, 0, 41526, 65536, 41526, 0, -13331, 0, 7415, 0, -4723, 0, 3145, 0, -2112, 0, 1401, 0, -906, 0, 565, 0, -335, 0, 187, 0, -96, 0, 44, 0, -17, 0, 5]/131072, ...
    'SampleRate', fsample);

fvtool(fir2, fir1, fir0, dsp.FilterCascade(fir0, fir1, fir2))